package com.woniu.user.controller;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.user.commons.Result;
import com.woniu.user.model.Occupy;
import com.woniu.user.service.OccupyService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 教练时间占用表 前端控制器
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
@RestController
@RequestMapping("/occupy")
public class OccupyController {

    @Resource
    private OccupyService occupyService;

    @GetMapping("all")
    public Result getAll(Integer page, Integer size){
        Page<Occupy> occupyPage = new Page<>(page, size);
        // TODO
        return null;
    }
}

